﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WPFTaskbarNotifier;
using System.Collections.ObjectModel;

namespace ChatIBOXClient
{
    public class NotifyObject
    {
        public NotifyObject(string message)
        {
            this.message = message;
        }

        private string message;
        public string Message
        {
            get { return this.message; }
            set { this.message = value; }
        }
    }
    /// <summary>
    /// Interaction logic for TaskbarNotify.xaml
    /// </summary>
    public partial class TaskbarNotify : TaskbarNotifier
    {
        public TaskbarNotify()
        {
            InitializeComponent();
        }

        private ObservableCollection<NotifyObject> notifyContent;
        public ObservableCollection<NotifyObject> NotifyContent
        {
            get
            {
                if (this.notifyContent == null)
                {
                    // Not yet created.
                    // Create it.

                    this.NotifyContent = new ObservableCollection<NotifyObject>();
                }

                return this.notifyContent;
            }
            set
            {
                this.notifyContent = value;
            }
        }
    }
}
